<include file="top" />
<include file="left" />


<import type="css" file="/admin/js/jquery-ui/ui-lightness/jquery-ui" />
<load href="__PUBLIC__/admin/js/jquery-1.8.2.min.js" />
<load href="__PUBLIC__/admin/js/jquery-ui/js/jquery-ui-1.9.0.custom.js" />
<script type="text/javascript">
		 $(function(){
			 $('#t_time').datepicker({dateFormat: 'yy-mm-dd'});
			 $('#e_time').datepicker({dateFormat: 'yy-mm-dd'});
		 });
    
    </script>

<div id="right">
	<h3>产品管理</h3>
	<form method="post">
		<select name="plate">
			<option value="">请选择</option>
			<volist name="cate" id="cate">
			<option value="<{$cate.id}>"
				<if condition="$b_id eq $cate['id']">selected="selected"</if>
				><{$cate.big_category_name}>
			</option>
			</volist>
		</select> 开始时间：<input type="text" name="t_time" id="t_time" value="<{$s_time}>" />
		结束时间：<input type="text" name="e_time" id="e_time" value="<{$e_time}>" />
		<button type="submit">确定</button>
	</form>
	<table width="100%" border="1">
		<tr class="first">
			<td>所属分类</td>
			<td>产品名称</td>
			<td>购买次数</td>
			<td>下载次数</td>
			<td>日期</td>
		</tr>
		<volist name="product" id="list">
		<tr>
			<td><{$list.big_category_name}>|--<{$list.plate_name}></td>
			<td><{$list.product_name}></td>
			<td><{$list.b_num}></td>
			<td><{$list.d_num}></td>
			<td><if condition="$s_time neq '' && $e_time neq ''"><{$s_time}>--<{$e_time}><else /><{$list.time}></if></td>
		</tr>
		</volist>
	</table>


</div>
<include file="foot" />